﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace shiyan782
{
    public partial class Default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {


        }

        protected void Unnamed22_Click(object sender, EventArgs e)
        {


        }

        protected void radio_valid(object source, ServerValidateEventArgs args)
        {
            if (male.Checked == false && female.Checked == false)
            {
                args.IsValid = false;
            }
            else
            {
                args.IsValid = true;
            }
        }

        protected void checkbox_valid(object source, ServerValidateEventArgs args)
        {
            if (CheckBox_English.Checked == false && CheckBox_non_English.Checked == false)
            {
                args.IsValid = false;
            }
            else
            {
                args.IsValid = true;
            }
        }
    }
}
